#!/bin/bash
mvn clean package -U -Dmaven.test.skip=true 
rm -rf /usr/local/servers/wmapi/libs/wmapi.jar
mv target/wmapi.jar /usr/local/servers/wmapi/libs/
cd /usr/local/servers/wmapi/bin/
./shutdown.sh
./startup.sh
cd /usr/local/servers/wmapi/logs
tail -f startup`date +%Y-%m-%d`.log